package com.atguigu.gulimail.Service.impl;

import com.atguigu.gulimail.Enum.PayEnum;
import org.springframework.stereotype.Service;

/**
 * @author Guo 2022/9/7 10:17:07
 */
@Service
public class GrantTypeService {

    public String aliPay(String channel) {
        System.out.println(channel);
        return PayEnum.ALI_PAY.getDescription();
    }

    public String wechatPay(String channel) {
        System.out.println(channel);
        return PayEnum.WECHAT_PAY.getDescription();
    }

    public String xiaomiPay(String channel) {
        System.out.println(channel);
        return PayEnum.XIAO_MI_PAY.getDescription();
    }

    public String huaweiPay(String channel) {
        System.out.println(channel);
        return PayEnum.HUA_WEI_PAY.getDescription();
    }

}
